﻿using MediatR;
using Traceability.App.ErrorCode;

namespace Traceability.App.Api.Application.Command.Add
{
    public class AddSlaughterCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 生产批次
        /// </summary>
        public string Batch { get; set; }
        /// <summary>
        /// 到厂均重
        /// </summary>
        public int AverageWeight { get; set; }
        /// <summary>
        /// 到厂时间
        /// </summary>
        public DateTime DaoDateTime { get; set; }
        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime SlaughterDateTime { get; set; }
    }
}
